//-----------------------------------------------------------------------------
// Data
//-----------------------------------------------------------------------------
uniform sampler2D refractMap;

varying vec2 texCoord;

//-----------------------------------------------------------------------------
// Main                                                                        
//-----------------------------------------------------------------------------
void main()
{
//   vec2 texCoord = vec2( pos.x / (pos.w), -pos.y / (pos.w) );
//   texCoord = ( (texCoord + 1.0) * 0.5 );
   
   
   gl_FragColor = texture2D( refractMap, texCoord ) + vec4( 0.1, 0.1, 0.2, 0.0 );
}
